interface LayoutWhiteProps {
	width?: string | number;
	height?: string | number;
	radius?: string | number;
	children?: HTMLElement | any;
}

// 默认最大盒子
const LayoutWhite = ({ width = "100%", height = "calc(100vh - 140px)", radius = "3px", children = "" }: LayoutWhiteProps) => {
	return (
		<div
			style={{
				width: width,
				height: height,
				background: "white",
				borderRadius: radius,
				boxShadow: "0 0 5px #ccc",
				borderColor: "#e4e7ed",
				padding: "15px",
				overflowY: "scroll"
			}}
		>
			{children}
		</div>
	);
};

export default LayoutWhite;
